/* =========================
   RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;

    font-family: Arial, Helvetica, sans-serif;

    color: white;
    background: #000;
}


/* =========================
   FIXED MOON BACKGROUND
========================= */

body::before {
    content: "";

    position: fixed;
    inset: 0;

    background:
        linear-gradient(
            rgba(0, 0, 0, 0.45),
            rgba(0, 0, 0, 0.78)
        ),
        url("moon.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    z-index: -2;
}


/* =========================
   NAVBAR
========================= */

.navbar {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 78px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 6%;

    background: rgba(0, 0, 0, 0.65);

    border-bottom: 1px solid rgba(255, 255, 255, 0.12);

    backdrop-filter: blur(14px);

    z-index: 1000;
}


/* =========================
   LOGO
========================= */

.logo {
    display: flex;
    flex-direction: column;

    text-decoration: none;
    color: white;

    line-height: 1;
}

.logo span {
    font-size: 21px;
    font-weight: 700;

    letter-spacing: 4px;
}

.logo small {
    margin-top: 6px;

    color: #999;

    font-size: 9px;
    letter-spacing: 5px;
}


/* =========================
   NAVIGATION
========================= */

.nav-menu {
    display: flex;
    align-items: center;

    gap: 32px;
}

.nav-menu a {
    position: relative;

    color: #aaa;

    text-decoration: none;

    font-size: 13px;
    letter-spacing: 0.5px;

    transition: 0.25s ease;
}

.nav-menu a:hover {
    color: white;
}

.nav-menu a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -9px;

    width: 0;
    height: 1px;

    background: white;

    transition: 0.25s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu a.active {
    color: white;
}

.nav-menu a.active::after {
    width: 100%;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 850px) {

    .navbar {
        padding: 0 5%;
    }

    .nav-menu {
        gap: 18px;
    }

    .nav-menu a {
        font-size: 11px;
    }

}

@media (max-width: 650px) {

    .navbar {
        height: auto;
        min-height: 70px;

        flex-direction: column;
        justify-content: center;

        gap: 15px;

        padding: 16px 5%;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;

        gap: 15px 22px;
    }

}
/* =========================
   HERO SECTION
========================= */

.hero {
    min-height: 100vh;

    display: flex;
    align-items: center;

    padding: 120px 8% 80px;
}

.hero-content {
    max-width: 780px;
}

.hero-label {
    margin-bottom: 22px;

    color: #bdbdbd;

    font-size: 12px;
    font-weight: 600;

    letter-spacing: 4px;
}

.hero h1 {
    margin-bottom: 25px;

    font-size: clamp(55px, 8vw, 110px);

    font-weight: 700;

    line-height: 0.95;

    letter-spacing: -4px;
}

.hero-description {
    max-width: 650px;

    margin-bottom: 35px;

    color: #c7c7c7;

    font-size: 18px;

    line-height: 1.7;
}

.hero-button {
    display: inline-block;

    padding: 14px 25px;

    color: #000;

    background: #fff;

    text-decoration: none;

    font-size: 13px;
    font-weight: 600;

    letter-spacing: 0.5px;

    transition: 0.25s ease;
}

.hero-button:hover {
    background: #d8d8d8;

    transform: translateY(-2px);
}
/* =========================
   MISSION SECTION
========================= */

.mission-section {
    min-height: 100vh;

    padding: 130px 8%;

    background: rgba(0, 0, 0, 0.42);
}


/* =========================
   SECTION HEADING
========================= */

.section-heading {
    max-width: 700px;

    margin-bottom: 60px;
}

.section-label {
    margin-bottom: 15px;

    color: #aaa;

    font-size: 11px;
    font-weight: 600;

    letter-spacing: 4px;
}

.section-heading h2 {
    margin-bottom: 20px;

    font-size: clamp(40px, 5vw, 70px);

    line-height: 1;

    letter-spacing: -2px;
}

.section-heading p:last-child {
    color: #aaa;

    font-size: 16px;

    line-height: 1.7;
}


/* =========================
   MISSION GRID
========================= */

.mission-grid {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 25px;

    max-width: 1200px;
}


/* =========================
   MISSION CARD
========================= */

.mission-card {
    padding: 32px;

    background: rgba(10, 10, 10, 0.78);

    border: 1px solid rgba(255, 255, 255, 0.13);

    backdrop-filter: blur(10px);

    transition:
        transform 0.3s ease,
        border-color 0.3s ease;
}

.mission-card:hover {
    transform: translateY(-5px);

    border-color: rgba(255, 255, 255, 0.35);
}


/* =========================
   CARD TOP
========================= */

.mission-top {
    display: flex;
    justify-content: space-between;

    margin-bottom: 35px;

    color: #888;

    font-size: 10px;
    font-weight: 600;

    letter-spacing: 2px;
}


/* =========================
   CARD TEXT
========================= */

.mission-card h3 {
    margin-bottom: 8px;

    font-size: 30px;

    letter-spacing: -0.5px;
}

.mission-year {
    margin-bottom: 22px;

    color: #888;

    font-size: 12px;
}

.mission-description {
    min-height: 80px;

    margin-bottom: 30px;

    color: #bcbcbc;

    font-size: 14px;

    line-height: 1.7;
}


/* =========================
   MISSION INFO
========================= */

.mission-info {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 20px;

    padding-top: 20px;

    margin-bottom: 25px;

    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mission-info div {
    display: flex;
    flex-direction: column;

    gap: 7px;
}

.mission-info small {
    color: #777;

    font-size: 9px;

    letter-spacing: 2px;
}

.mission-info strong {
    color: #ddd;

    font-size: 11px;

    font-weight: 500;
}


/* =========================
   SHOW MORE BUTTON
========================= */

.show-more {
    padding: 12px 20px;

    border: 1px solid rgba(255, 255, 255, 0.25);

    background: transparent;

    color: white;

    font-size: 11px;

    letter-spacing: 1px;

    cursor: pointer;

    transition: 0.25s ease;
}

.show-more:hover {
    background: white;

    color: black;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 750px) {

    .mission-grid {
        grid-template-columns: 1fr;
    }

    .mission-section {
        padding: 100px 6%;
    }

}
/* =========================
   MISSION POPUP
========================= */

.mission-popup {
    position: fixed;

    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 30px;

    visibility: hidden;
    opacity: 0;

    z-index: 2000;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
}

.mission-popup.show {
    visibility: visible;
    opacity: 1;
}


/* =========================
   POPUP OVERLAY
========================= */

.popup-overlay {
    position: absolute;

    inset: 0;

    background: rgba(0, 0, 0, 0.82);

    backdrop-filter: blur(8px);
}


/* =========================
   POPUP WINDOW
========================= */

.popup-window {
    position: relative;

    width: min(800px, 100%);

    max-height: 85vh;

    overflow-y: auto;

    padding: 45px;

    background: #0b0b0b;

    border: 1px solid rgba(255, 255, 255, 0.18);

    z-index: 1;

    transform: translateY(20px);

    transition: transform 0.25s ease;
}

.mission-popup.show .popup-window {
    transform: translateY(0);
}


/* =========================
   CLOSE BUTTON
========================= */

.popup-close {
    position: absolute;

    top: 18px;
    right: 20px;

    width: 36px;
    height: 36px;

    border: 1px solid rgba(255, 255, 255, 0.2);

    background: transparent;

    color: white;

    font-size: 25px;

    cursor: pointer;
}

.popup-close:hover {
    background: white;
    color: black;
}


/* =========================
   POPUP CONTENT
========================= */

.popup-label {
    margin-bottom: 15px;

    color: #888;

    font-size: 10px;

    letter-spacing: 3px;
}

.popup-title {
    margin-bottom: 35px;

    font-size: clamp(35px, 5vw, 55px);

    line-height: 1;

    letter-spacing: -2px;
}

.popup-details {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;

    padding: 25px 0;

    margin-bottom: 25px;

    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.popup-details div {
    display: flex;
    flex-direction: column;

    gap: 8px;
}

.popup-details span {
    color: #666;

    font-size: 9px;

    letter-spacing: 2px;
}

.popup-details strong {
    color: #ddd;

    font-size: 12px;

    font-weight: 500;
}

.popup-description,
.popup-details-text {
    color: #bcbcbc;

    font-size: 15px;

    line-height: 1.8;
}

.popup-description {
    margin-bottom: 20px;
}


/* =========================
   PREVENT PAGE SCROLL
========================= */

body.popup-open {
    overflow: hidden;
}


/* =========================
   MOBILE POPUP
========================= */

@media (max-width: 600px) {

    .mission-popup {
        padding: 15px;
    }

    .popup-window {
        padding: 35px 25px;
    }

    .popup-details {
        grid-template-columns: 1fr;
    }

}
.popup-window h3 {
    margin-top: 30px;
    margin-bottom: 12px;

    color: white;

    font-size: 13px;

    text-transform: uppercase;
    letter-spacing: 2px;
}

.popup-window h3:first-of-type {
    margin-top: 0;
}
/* ========================================
   ABOUT SECTION
======================================== */

.about-section {
    min-height: 100vh;
    padding: 140px 8%;
    background: rgba(0, 0, 0, 0.65);
}

.about-container {
    max-width: 1200px;
}

.about-content {
    margin-top: 70px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.about-block {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 35px;
    padding: 35px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.about-number {
    color: #666;
    font-size: 12px;
    letter-spacing: 2px;
}

.about-block h3 {
    margin-bottom: 12px;
    color: white;
    font-size: 22px;
    font-weight: 500;
}

.about-block p {
    max-width: 750px;
    color: #aaa;
    font-size: 14px;
    line-height: 1.8;
}

.about-statement {
    margin-top: 70px;
    padding: 45px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.about-statement p {
    max-width: 850px;
    color: white;
    font-size: clamp(28px, 4vw, 50px);
    line-height: 1.15;
    letter-spacing: -1.5px;
}


/* ========================================
   ABOUT RESPONSIVE
======================================== */

@media (max-width: 650px) {

    .about-section {
        padding: 100px 6%;
    }

    .about-block {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .about-number {
        margin-bottom: 5px;
    }

}
/* ========================================
   SOURCES SECTION
======================================== */

.sources-section {
    min-height: 100vh;
    padding: 140px 8%;
    background: rgba(0, 0, 0, 0.72);
}

.sources-container {
    max-width: 1200px;
}

.sources-list {
    margin-top: 65px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.source-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 32px 0;
    color: white;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    transition: padding 0.25s ease;
}

.source-item:hover {
    padding-left: 12px;
    padding-right: 12px;
}

.source-item > div {
    display: grid;
    grid-template-columns: 55px 1fr;
    column-gap: 25px;
    row-gap: 8px;
}

.source-number {
    grid-row: span 2;
    color: #666;
    font-size: 11px;
    letter-spacing: 2px;
}

.source-item h3 {
    font-size: 20px;
    font-weight: 500;
}

.source-item p {
    max-width: 700px;
    color: #999;
    font-size: 13px;
    line-height: 1.6;
}

.source-arrow {
    color: #888;
    font-size: 22px;
    transition: 0.25s ease;
}

.source-item:hover .source-arrow {
    color: white;
    transform: translate(4px, -4px);
}

.source-note {
    margin-top: 60px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.source-note strong {
    display: block;
    margin-bottom: 10px;
    color: white;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.source-note p {
    max-width: 800px;
    color: #999;
    font-size: 13px;
    line-height: 1.7;
}


/* ========================================
   SOURCES RESPONSIVE
======================================== */

@media (max-width: 650px) {

    .sources-section {
        padding: 100px 6%;
    }

    .source-item > div {
        grid-template-columns: 40px 1fr;
        column-gap: 15px;
    }

    .source-item h3 {
        font-size: 17px;
    }

    .source-item p {
        font-size: 12px;
    }

}
/* ========================================
   CONTACT SECTION
======================================== */

.contact-section {
    min-height: 80vh;
    padding: 140px 8%;
    background: rgba(0, 0, 0, 0.68);
}

.contact-container {
    max-width: 1200px;
}

.social-links {
    margin-top: 65px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.social-link {
    display: grid;
    grid-template-columns: 60px 1fr auto;
    align-items: center;
    gap: 25px;

    padding: 28px 0;

    color: white;
    text-decoration: none;

    border-bottom: 1px solid rgba(255, 255, 255, 0.12);

    transition:
        padding 0.25s ease,
        background 0.25s ease;
}

.social-link:hover {
    padding-left: 15px;
    padding-right: 15px;
    background: rgba(255, 255, 255, 0.03);
}

.social-icon {
    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.18);

    transition:
        background 0.25s ease,
        color 0.25s ease;
}

.social-icon svg {
    width: 20px;
    height: 20px;

    fill: currentColor;
    stroke: currentColor;
    stroke-width: 1.5;
}

.social-link:hover .social-icon {
    background: white;
    color: black;
}

.social-link strong {
    display: block;
    margin-bottom: 5px;

    font-size: 16px;
    font-weight: 500;
}

.social-link small {
    color: #888;
    font-size: 11px;
    letter-spacing: 0.5px;
}

.social-arrow {
    color: #777;
    font-size: 20px;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.social-link:hover .social-arrow {
    color: white;
    transform: translate(4px, -4px);
}

.contact-note {
    margin-top: 60px;
    padding-top: 30px;

    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-note span {
    display: block;
    margin-bottom: 12px;

    color: #777;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 3px;
}

.contact-note p {
    max-width: 750px;

    color: #999;
    font-size: 13px;
    line-height: 1.8;
}


/* ========================================
   CONTACT RESPONSIVE
======================================== */

@media (max-width: 600px) {

    .contact-section {
        padding: 100px 6%;
    }

    .social-link {
        grid-template-columns: 50px 1fr auto;
        gap: 15px;
    }

    .social-icon {
        width: 40px;
        height: 40px;
    }

}
/* ========================================
   FOOTER
======================================== */

.site-footer {
    padding: 80px 8% 30px;
    background: rgba(0, 0, 0, 0.92);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 70px;
    max-width: 1400px;
    margin: 0 auto;
}


/* ========================================
   FOOTER BRAND
======================================== */

.footer-brand {
    max-width: 430px;
}

.footer-logo {
    display: inline-flex;
    flex-direction: column;

    margin-bottom: 25px;

    color: white;
    text-decoration: none;
    line-height: 1;
}

.footer-logo span {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 5px;
}

.footer-logo small {
    margin-top: 7px;

    color: #777;
    font-size: 9px;
    letter-spacing: 5px;
}

.footer-brand p {
    margin-bottom: 25px;

    color: #888;
    font-size: 13px;
    line-height: 1.8;
}

.footer-challenge {
    color: #666;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 2.5px;
}


/* ========================================
   FOOTER COLUMNS
======================================== */

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-column h3 {
    margin-bottom: 10px;

    color: white;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.footer-column a {
    width: fit-content;

    color: #888;
    text-decoration: none;
    font-size: 12px;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.footer-column a:hover {
    color: white;
    transform: translateX(4px);
}


/* ========================================
   FOOTER DIVIDER
======================================== */

.footer-divider {
    max-width: 1400px;
    height: 1px;

    margin: 65px auto 25px;

    background: rgba(255, 255, 255, 0.1);
}


/* ========================================
   FOOTER BOTTOM
======================================== */

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;

    max-width: 1400px;
    margin: 0 auto;
}

.footer-bottom p {
    color: #555;
    font-size: 10px;
    line-height: 1.6;
}


/* ========================================
   FOOTER RESPONSIVE
======================================== */

@media (max-width: 900px) {

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
    }

    .footer-brand {
        grid-column: 1 / -1;
        max-width: 600px;
    }

}


@media (max-width: 600px) {

    .site-footer {
        padding: 65px 6% 25px;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 40px 25px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
    }

}